1 link tagged with all of: zswap + zram + linux memory compression
Click any tag below to further narrow down your results
Links
The author ran out of memory on a 32GB workstation and turned to zram, a Linux feature that compresses RAM to fit more data in the same space. A later update says zswap is the better choice for most setups, and the author plans to switch.
- Compression ratios of around 1:3 to 1:4 are common, so a test with 5.7GB of data fit in 1.7GB of RAM.
- The cost is a small amount of extra CPU use and some latency, which the author describes as barely noticeable.
- Not every Linux distro enables RAM compression by default; Fedora and Pop!_OS do, Ubuntu does not.
- After community feedback, the author concluded zswap beats zram for most situations and is switching to it.